function e(e){return`${e}px`}function t(e){if(typeof e==`number`)return e===0?`0`:`${e*.0625}rem`;if(typeof e==`string`){let t=e.match(/^(-?\d+(?:\.\d+)?)px$/);if(t){let e=Number.parseFloat(t[1]);return e===0?`0`:`${e*.0625}rem`}return e}return String(e)}export{t as n,e as t};